package org.csu.webjpetstoreback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.webjpetstoreback.config.CommonResponse;
import org.csu.webjpetstoreback.model.Account;

import java.util.List;

public interface AccountService extends IService<Account> {

    public CommonResponse<Account> GetAccountByID(String userid);

    public CommonResponse<List<Account>> GetAccount();

    public CommonResponse<Account> PostAccount(Account account);

    public CommonResponse<Account> PutAccount(Account account);

    public CommonResponse<Account> DeleteAccount(String userid);

}
